package com.ushine.web.security.jwt;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author: yls
 * @Date: 2021/08/21 20:21
 * @Description:
 * @Version 1.0
 */
@Component
@Data
@ConfigurationProperties("token")
public class JwtProperties {

    /**
     * 请求头
     */
    private String header;

    /**
     * 过期时间
     */
    private Long expiration;

    /**
     * token的前缀
     */
    private String prefix;
}
